<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
Route::group(['prefix' => '/', 'namespace' => "Auth"], function (){

});
Route::group(['prefix' => '/common', 'namespace' => "Common"], function (){
    Route::resource('/send', 'SmsController');
});
Route::group(['prefix' => '/', 'namespace' => "Home"], function (){
    Route::resource('/', 'IndexController');
    Route::resource('/undue', 'UndueController');
    Route::resource('/member', 'MemberController');
    Route::any('/resume', 'ResumeController@index');
    Route::any('/resume/{id}/edit', 'ResumeController@edit');
    Route::any('/resume/{id}/job', 'ResumeController@job');
    Route::any('/resume/basis', 'ResumeController@basis');
    Route::resource('/resume', 'ResumeController');
});
Auth::routes();

Route::get('/home', 'HomeController@index')->name('home');
